with open('lizi.log', mode='rt', encoding='utf-8') as f:
    # 1.先将指针跳到文件末尾
    # f.read() 这事个错误的做法
    f.seek(0, 2)
    while True:
        f.readline()
